class OrderItemModel {
  OrderItemModel({
      this.id, 
      this.orderGoodsName, 
      this.orderGoodsCode, 
      this.orderGoodsPrice, 
      this.orderGoodsQty, 
      this.orderId,});

  OrderItemModel.fromJson(dynamic json) {
    id = json['id'];
    orderGoodsName = json['orderGoodsName'];
    orderGoodsCode = json['orderGoodsCode'];
    orderGoodsPrice = json['orderGoodsPrice'];
    orderGoodsQty = json['orderGoodsQty'];
    orderId = json['orderId'];
  }
  int? id;
  String? orderGoodsName;
  String? orderGoodsCode;
  num? orderGoodsPrice;
  num? orderGoodsQty;
  int? orderId;

  Map<String, dynamic> toJson() {
    final map = <String, dynamic>{};
    map['id'] = id;
    map['orderGoodsName'] = orderGoodsName;
    map['orderGoodsCode'] = orderGoodsCode;
    map['orderGoodsPrice'] = orderGoodsPrice;
    map['orderGoodsQty'] = orderGoodsQty;
    map['orderId'] = orderId;
    return map;
  }

}